package com.ishow.common.constant;

import org.apache.log4j.Logger;

/**
 * 单例类，获得系统的配置信息
 * 
 * @author chichi
 *
 */
public class SysConfig {
	private static Logger log = Logger.getLogger(SysConfig.class);
	private static SysConfig sysConfig = new SysConfig();

	private String uploadDirectory = null;// 上传文件存放的目录
	private String uploadFilesExtension = null;// 允许上传的文件类型
	private String uploadFilesUrl = null;// 上传文件的访问地址

	public String getUploadFilesUrl() {
		return uploadFilesUrl;
	}

	public void setUploadFilesUrl(String uploadFilesUrl) {
		this.uploadFilesUrl = uploadFilesUrl;
	}

	public String getUploadDirectory() {
		return uploadDirectory;
	}

	public void setUploadDirectory(String uploadDirectory) {
		this.uploadDirectory = uploadDirectory;
	}

	public String getUploadFilesExtension() {
		return uploadFilesExtension;
	}

	public void setUploadFilesExtension(String uploadFilesExtension) {
		this.uploadFilesExtension = uploadFilesExtension;
	}

	private SysConfig() {
	}

	public static SysConfig getInstance() {
		return sysConfig;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
	}

}
